﻿jQuery(function () {
    jQuery("#login").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the User Name"
    });
    jQuery("#password").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Password"
    });
    jQuery('.AdvancedForm').validated(function () {
        alert("Use this call to make AJAX submissions.");
    });
});